home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7985 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  860 b 

  1. Path: anvil.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: String manipulation routines for C
  5. Date: 28 Feb 1996 11:25:25 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4h2a75INNbqo@anvil.ugrad.cs.ubc.ca>
  8. References: <4gio78$ipr@bart.rogerswave.ca> <4gntb5$i41@nw002.infi.net> <4h04r7$7e0@hammy.lonestar.org>
  9. NNTP-Posting-Host: anvil.ugrad.cs.ubc.ca
  10.  
  11. In article <4h04r7$7e0@hammy.lonestar.org>,
  12. Gordon Burditt <gordon@sneaky.lerctr.org> wrote:
  13. >>itoa - xlat an integer to a string (like BASIC's STR fn)
  14. >
  15. >itoa() is NOT an ANSI C function.  (Use sprintf().)
  16.  
  17. Really, the closest thing in _any_ standard is inet_ntoa(), which is part of
  18. the Berkeley C interface for internet programming. It converts an address to a
  19. string in dot notation. :)
  20. -- 
  21.  
  22.